﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Model;
using DAL;

namespace BLL
{
    public class PersonalBLL
    {
        /// <summary>
        /// 登录
        /// </summary>
        /// <param name="pe"></param>
        /// <returns></returns>
        public static Personalmodel login(string tel, string pwd)
        {
            return DAL.PersonalDAL.login(tel, pwd);
        }
        /// <summary>
        /// 注册
        /// </summary>
        /// <param name="pe"></param>
        /// <returns></returns>
        public static int register(Personalmodel pe)
        {
            return DAL.PersonalDAL.register(pe);
        }
    }
}

